﻿using System;
using System.Collections.Generic;
using System.Text;

using MapCenterSystem.DataInfo;
using MapCenterSystem.DataAccess;

namespace MapCenterSytem.Process
{
    public class HomeBUS : Street
    {
        public static IList<HomeInfoEx> FindExactAddress(string number, string street)
        {
            HomeService service = new HomeService();
            return service.FindExactAddress(number, street);
        }

        public static IList<HomeInfoEx> FindNearAddress(string number, string street)
        {
            HomeService service = new HomeService();
            return service.FindNearAddress(number, street);
        }
    }
}
